package day9.java86;

/**
 * @author oldliu
 * @since 1.0
 */
public class Qie  extends Pet{
    private String color;
    public Qie(){

    }

    @Override
    public void run() {
        System.out.println("企鹅"+super.getName()+"水里游泳");
    }

    public Qie(String name,String sex,int age,String color){
        super(name,sex);
        super.age=age;
        this.color=color;
    }
}
